package com.smart.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Objects;


/**
 * 加油站每日派券统计表
 * 
 * @author wwf
 * @email wwfq2903021027@163.com
 * @date 2019-08-16 14:11:05
 */
@Data
public class StatisticsDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//
	private Integer id;
	//所属省
	private Integer provinceNum;
	//所属市
	private Integer cityNum;
	//所属加油站(编号)
	private String stationNum;
	//商户编号
	private String merchantNum;
	//统计日期
	private Date statisticsDate;
	//优惠券id
	private Integer cpId;
	//优惠券名称
	private String cpName;
	//派发数量
	private Integer cpGeneNum;
	//核销数量
	private Integer payNum;
	//券面金额
	private BigDecimal cpPrice;
	//核销券面总金额
	private BigDecimal payPrice;
	//创建时间
	private Date creatTime;
	//修改时间
	private Date updateTime;
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date startTime;
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date endTime;
	/**
	 * 1是昨日,2是近30天,3是近3个月
	 */
	private Integer type;

	private String provinceName;
	private String cityName;
	private String stationName;
	private String merchantName;






}
